package hcn.cmc.bean.response;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**获取危急值查询
 * @Author impel
 * @Date 2020/9/29 10:42
 * @Description:
 * @Version 1.0
 */
@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class CriticalConfirmResponse {
    private MsgHeaderRequest MsgHeader;

    private MsgBody MsgBody;
    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public CriticalConfirmResponse.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(CriticalConfirmResponse.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(
            name = "MsgBody"
    )
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private CriticalConfirmResponse.MsgBody.Data Data;

        public MsgBody() {
        }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }

        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        public CriticalConfirmResponse.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(CriticalConfirmResponse.MsgBody.Data data) {
            this.Data = data;
        }
        @XmlRootElement(
                name = "Data"
        )
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{
            public Data() {
            }
        }
    }
}
